/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.zuq.geocode.route;

/**
 *
 * @author zuq
 */
public class Waypoint {

    private double lat;
    private double lng;
    private double geocodeScore;
    private boolean stop;

    public Waypoint(double lat, double lng) {
        this.lat = lat;
        this.lng = lng;
        stop = false;
        geocodeScore = 0.0d;
    }

    public double getLat() {
        return lat;
    }

    public double getLng() {
        return lng;
    }

    /**
     * Specifies whether the traveler plans to stop at the waypoint, or simply
     * pass through it.
     * 
     * @return
     */
    public boolean isStop() {
        return stop;
    }


}
